package cn.tedu.day02;

import cn.tedu.day4.Pig;

public class Context {
    private Dog dog;
    private Cat cat;
    public Cat getCat(){
        return cat;
    }
    public Dog getDog(){
        return dog;
    }

    public void setDog(Dog dog) {
        this.dog = dog;
    }

    public void setCat(Cat cat) {
        this.cat = cat;
    }

    @Override
    public String toString() {
        return "Context{" +
                "dog=" + dog +
                ", cat=" + cat +
                '}';
    }


}
